package com.qf.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.entity.TbOrder;
import org.apache.ibatis.annotations.Update;

import java.util.Date;

public interface OrderDao extends BaseMapper<TbOrder> {
    @Update("update tb_order set order_paytime=#{param2},order_status=#{param3} where order_id=#{param1}")
    int updateStatus(String oid, Date paytime,int status);
}
